package cn.jcet.module.bus.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("bus")
public class BusinessController {

    /**
     * 跳转商品管理页
     * @return
     */
    @GetMapping("toCustomerManager")
    public String toCustomerManager(){
        return "business/customer/CustomerManager";
    }

    /**
     * 跳转供应商管理
     * @return
     */
    @GetMapping("toProviderManager")
    public String toProviderManager(){
        return "business/provider/providerManager";
    }

    /**
     * 跳转商品管理
     * @return
     */
    @GetMapping("toGoodsManager")
    public String toGoodsManager(){
        return "business/goods/goodsManager";
    }


    @GetMapping("toInportManager")
    public String toInportManager(){
        return "business/inport/inportManager";
    }

    @GetMapping("toOutportManager")
    public String toOutportManager(){
        return "business/outport/outportManager";
    }
}
